package com.wanxi.user;

//import com.wanxi.user.dao.StudentDao;
//import com.wanxi.user.dao.StudentDao;
import com.wanxi.user.dao.StudentDao;
import com.wanxi.user.model.Student;

import java.util.Arrays;

public class TestStudentFor {
//    static int[] ids = {1, 2, 3, 4, 5};
//    static String[] names = {"张三", "李四", "王五", "赵六", "周期"};

    public static void main(String[] args) {
        Student[] students = new Student[5];

        for (int i = 0; i < students.length; i++) {
            Student student1 = new Student(StudentDao.ids[i], StudentDao.names[i], 23, "1578889999", "北京");
            students[i] = student1;
        }
//        System.out.println(students);
        System.out.println(Arrays.toString(students));
    }
}
